package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>加油记录表
 * <p>
 * </p>
 *
 * @author fzj
 * @since 2018-06-24
 */
@TableName("base_oil")
public class BaseOil extends CommonVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * Id
     */
    @TableId(value = "oil_id", type = IdType.AUTO)
    private Long oilId;
    /**
     * 车辆ID
     */
    @TableField("car_id")
    private Long carId;
    /**
     * 车牌号
     */
    @TableField("car_no")
    private String carNo;
    /**
     * 登记网点ID
     */
    @TableField("sign_site_id")
    private Long signSiteId;
    /**
     * 登记网点名字
     */
    @TableField("site_name")
    private String siteName;
    /**
     * 加油站ID
     */
    @TableField("station_id")
    private Long stationId;
    /**
     * 加油站
     */
    @TableField("station_name")
    private String stationName;
    /**
     * 加油日期
     */
    @TableField("oil_time")
    public Date oilTime;
    /**
     * 油料标号
     */
    @TableField("dict_id")
    private Long dictId;
    /**
     * 油料标号名字
     */
    @TableField("dict_name")
    private String dictName;
    /**
     * 单价
     */
    @TableField("unit_price")
    private Double unitPrice;
    /**
     * 加油量
     */
    @TableField("fuel_quantity")
    private Double fuelQuantity;
    /**
     * 金额
     */
    @TableField("price")
    private Double price;
    /**
     * 登记人
     */
    @TableField("create_name")
    private String createName;


    /**
     * 数据状态 0删除 1正常
     */
    @TableField("rd_status")
    private Integer rdStatus;


    public Long getOilId() {
        return oilId;
    }

    public void setOilId(Long oilId) {
        this.oilId = oilId;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public Long getSignSiteId() {
        return signSiteId;
    }

    public void setSignSiteId(Long signSiteId) {
        this.signSiteId = signSiteId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public Long getDictId() {
        return dictId;
    }

    public void setDictId(Long dictId) {
        this.dictId = dictId;
    }

    public Double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(Double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Double getFuelQuantity() {
        return fuelQuantity;
    }

    public void setFuelQuantity(Double fuelQuantity) {
        this.fuelQuantity = fuelQuantity;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getSiteName() {
        return siteName;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarName(String carNo) {
        this.carNo = carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public Date getOilTime() {
        return oilTime;
    }

    public void setOilTime(Date oilTime) {
        this.oilTime = oilTime;
    }
}
